package com.example.demo.service;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by yhn on 2017/12/6.
 */
public interface Tencent_NPLService {   //接口
    String getNPL_getTextTrans(String text,String type)throws Exception;  //文本翻译(text:待翻译文本。type:翻译类型(如中转英,英转中))
    String getNPL_getImageTrans(byte[] file,String source,String target)throws Exception; //图片翻译
    String getFenci(String text)throws Exception;
}
